badmapTest is package{
  fooPattern has type () <= string;
  fooPattern is (pattern () from (S matching `.*foo.*`));

  Y has type map of ((string, () <= string));
  Y is hash{
        "foo" -> fooPattern;
  };

  main() do { logMsg(info, "Y is $Y"); };
}